﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BK_CLIENT
{
    public partial class HostWebcam : Form
    {
        public TCPCam.Host HostWC;

        public HostWebcam()
        {
            InitializeComponent();
            HostWC = new TCPCam.Host(pictureBox1, 198);
        }

        private void HostWebcam_FormClosing(object sender, FormClosingEventArgs e)
        {
            HostWC.CloseConnection();
        }
    }
}
